<!DOCTYPE html>
<html lang="en" >
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div>
    <!--属性绑定 让元素某个属性的值和变量进行绑定-->
    <a :href="url" >超链接</a>
    <a v-bind:href="url">超链接</a>
    <img :src="imgName" alt="">
    <input type="text" :value="url">
</div>
<script src="js/vue.min.js"></script>
<script>
    let v = new Vue({
        el:"body>div",
        data:{
            url:"http://www.baidu.com",
            imgName:"a.jpg"
        }
    })
</script>
</body>
</html>